package com.fdb.efp.nls.service.dao;

import com.fdb.efp.nls.service.domain.SyncRepayPlanDiffLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * DAO Interface: 还款计划差异表
 *
 * @author gcb
 * @date 2020-04-26
 */
public interface SyncRepayPlanDiffLogDao {
    /**
     * 新增数据
     *
     * @param syncRepayPlanDiffLog
     * @return
     */
    int insert(SyncRepayPlanDiffLog syncRepayPlanDiffLog);

    /**
     * 根据主键删除信息
     *
     * @param syncRepayPlanDiffLog
     * @return
     */
    int deleteByPk(SyncRepayPlanDiffLog syncRepayPlanDiffLog);

    /**
     * 根据主键更新信息
     *
     * @param syncRepayPlanDiffLog
     * @return
     */
    int updateByPk(SyncRepayPlanDiffLog syncRepayPlanDiffLog);

    /**
     * 根据主键查询详情
     *
     * @param syncRepayPlanDiffLog
     * @return
     */
    SyncRepayPlanDiffLog queryByPk(SyncRepayPlanDiffLog syncRepayPlanDiffLog);

    int batchInsert(@Param("list") List<SyncRepayPlanDiffLog> list);
}